package com.ttg.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author zhangHongYuan
 * @description
 * @date 2023/6/8 10:43
 */
@Data
@TableName(value = "tbl_app_coupon_vip_grade_config")
public class VipGradeConfig implements Serializable {

    private static final long serialVersionUID = -1679013107456338600L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 会员等级
     */
    @TableField(value = "vip_grade")
    private Double vipGrade;

    /**
     * 会员名称
     */
    @TableField(value = "vip_name")
    private String vipName;

    /**
     * 修改人
     */
    @TableField(value = "edit_admin_id")
    private Long editAdminId;

    /**
     * 修改时间
     */
    @TableField(value = "edit_time")
    private LocalDateTime editTime;

    /**
     * 权益
     */
    @TableField(value = "equity_description")
    private String  equityDescription;

    /**
     * 等级类型 0对私1对公
     */
    @TableField(value = "grade_type")
    private Integer gradeType;

    /**
     * 是否可配置（0.可配置，1.不可配置）
     */
    @TableField(value = "setting_flag")
    private Integer settingFlag;

    /**
     * 关联标签数量
     */
    @TableField(value = "tags_num")
    private Integer tagsNum;

}
